home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ssssccccrrrreeeeeeeennnn((((3333GGGG)))) ssssccccrrrreeeeeeeennnn((((3333GGGG))))
-
-
-
- NNNNAAAAMMMMEEEE
- ssssccccrrrreeeeeeeennnn - map world space to absolute screen coordinates
-
- FFFFOOOORRRRTTTTRRRRAAAANNNN SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
- ssssuuuubbbbrrrroooouuuuttttiiiinnnneeee ssssccccrrrreeeeeeeennnn
-
- PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
- _n_o_n_e
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- ssssccccrrrreeeeeeeennnn sets the projection matrix and viewport of the current window so
- as to map world space to absolute screen coordinates (instead of to the
- more usual window-relative screen coordinates). This provides a
- convenient coordinate system for operations that are not constrained to a
- window, e.g. reading pixels.
-
- ssssccccrrrreeeeeeeennnn is equivalent to:
-
- integer*4 xmin, ymin
-
- call getorg(xmin, ymin)
- call viewpo(-xmin, getgde(GDXPMA)-xmin,
- + -ymin, getgde(GDYPMA)-ymin)
- call ortho2(-0.5, getgde(GDXPMA)+0.5,
- + -0.5, getgde(GDYPMA)+0.5)
-
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- fullsc, getgde, getori, viewpo, ortho2
-
- NNNNOOOOTTTTEEEE
- This routine is available only in immediate mode.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-